package com.bckj.fastboot.iot.data.mongo.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.iot.common.dto.request.IotStatusDataRequest;
import com.bckj.fastboot.iot.common.dto.response.IotStatusDataResponse;
import com.bckj.fastboot.iot.data.mongo.entity.IotStatusData;
import org.mapstruct.Mapper;

/**
 * IotStatusDataConvert
 *
 * @author wfc
 * @date 2025/9/30 11:59
 **/
@Mapper(config = MapStructConfig.class)
public interface IotStatusDataConvert {

    IotStatusData toEntity(IotStatusDataRequest request);

    IotStatusDataResponse toResponse(IotStatusData entity);
}
